<div class="bh-content">
<div class="bh-ly-yw-conter-dianpu bh-padT10">
    <?php $this->renderPartial('application.views.partials.shop.left')?>
    <div class="bh-ly-yw-dianpu-right bh-fr">
    <!-- 公司简介 -->
    	<?php $this->widget('lib.ext.data.DataWidget',array(
        	'model' => $provider,
        	'view' => 'application.views.partials.shop.introduce'
        ))?>
    	<!-- 供应产品 -->
        <?php $this->widget('lib.ext.data.DataWidget',array(
        	'model' => 'Goods',
        	'criteria' => array(
        		'condition' => 't.provider_id = :uid AND is_recommend = 1',
        		'params' => array(
        			':uid' => $provider->id,
        		),
        		'scopes' => 'listing',
        		'limit' => 9,
        	),
        	'data' => array(
        		'title' => '供应产品'	
        	),
        	'view' => 'application.views.partials.list.shop_provideList'
        ))?>
        <!-- 最新产品 -->
         <?php $this->widget('lib.ext.data.DataWidget',array(
        	'model' => 'Goods',
        	'criteria' => array(
        		'condition' => 't.provider_id = :uid',
        		'order' => 'create_time DESC',
        		'params' => array(
        			':uid' => $provider->id,
        		),
        		'scopes' => 'listing',
        		'limit' => '9',
        	),
        	'data' => array(
        		'title' => '最新产品'	
        	),
        	'view' => 'application.views.partials.list.shop_provideList'
        ))?>
        <!-- 公司相册 -->
        <?php 
        	if ($provider->isHasPhoto())
	        	$this->renderPartial('application.views.partials.shop.photolist',array(
	        		'model' => $provider->photos
	        	));
        ?>
        <!-- 店铺简介 -->
        <?php /*$this->widget('lib.ext.data.DataWidget',array(
        	'model' => $provider,
        	'view' => 'application.views.partials.message.definition'
        ))*/?>
        <!-- 联系方式 -->
        <?php $this->widget('lib.ext.data.DataWidget',array(
        	'model' => $provider,
        	'view' => 'application.views.partials.shop.contact'
        ))?>
    </div>
    <div class="bh-clear"></div>
    <!-- 底部的友情链接 -->
    <?php $this->widget('lib.ext.data.DataWidget', array(
    	'model' => 'FriendLink',
    	'view' => 'application.views.partials.aircraft.friendlink',
    ));?>
</div>
</div>